#include "stdafx.h"		
static PROC uglGetProcAddress(const char* pName,bool IsOptional){
		PROC res = wglGetProcAddress(pName);
		if(res || IsOptional)return res;
		MessageBoxA(0,pName,"Missing OpenGL extension proc!",0);
		ExitProcess(0);
	}
	static void InitGLExtentions(){
//		#define OPENGL_MACRO(proc,proctype) proc = (PFN##proctype##PROC)uglGetProcAddress(#proc,false)
	//	#define OPTIONAL_EXT(proc,proctype) proc = (PFN##proctype##PROC)uglGetProcAddress(#proc,true)

	}